home *** CD-ROM | disk | FTP | other *** search
Wrap
-- card: 2839 from stack: in.0 -- bmap block id: 4303 -- flags: 0000 -- background id: 2788 -- name: -- part 9 (field) -- low flags: 05 -- high flags: 0000 -- rect: left=1 top=86 right=309 bottom=511 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 4 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 10 (button) -- low flags: 00 -- high flags: A002 -- rect: left=2 top=54 right=76 bottom=114 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: GetModDate ----- HyperTalk script ----- on mouseUp answer file "Choose a file to examine:" if it = "" then exit mouseup put GetModDate(it) into modDate convert modDate to long date and time answer modDate end mouseUp -- part 16 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=473 top=51 right=84 bottom=511 -- title width / last selected line: 0 -- icon id / first selected line: 15664 / 15664 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Home ----- HyperTalk script ----- on mouseUp visual dissolve to black visual dissolve to white visual dissolve to black visual dissolve go home end mouseUp -- part 17 (button) -- low flags: 00 -- high flags: 4000 -- rect: left=475 top=22 right=50 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 13510 / 13510 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Jeff -- part 18 (button) -- low flags: 00 -- high flags: A002 -- rect: left=116 top=54 right=76 bottom=228 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: SetModDate ----- HyperTalk script ----- on mouseUp put the seconds into newModDate put newmoddate into moddate convert moddate to long date and time answer file "Choose a file to set Modification Date:" if it = "" then exit mouseup setModDate it,newModDate answer "Modification date set to" && moddate & "." end mouseUp -- part contents for card part 9 ----- text ----- GetModDate takes one parameter, the pathname of the file to examine. It returns the time in seconds which can be converted to a date. SetModDate takes two parameters, the pathname of the file to work on, and the datetime in seconds. Click on and/or examine the scripts of the buttons above to see how they work! A small shareware fee of $5 is requested if you use these externals for anything besides personal use. If you have comments, questions, or suggestions, you can contact me in any of the following ways: America Online: J5rson AppleLink: ALL.AMERICAN CompuServe: 76675,1772 GEnie: J5rson Internet: j5rson@aol.com Telephone: 616.949.0346 U. S. Mail: Jeff Iverson 3841 Whispering Way Dr. SE #101 Grand Rapids MI 49546-5849